package cn.itsource.utils;

/**
 * @program fccar_tt
 * @Description
 * @Author TT
 * @Date 2024/09/04 15:15
 * @Version 1.0
 */
public class IdUtil {
   private static final Integer WORKER_ID=1;
   private static final Integer DATACENTER_ID=1;
   public static Long getSnowFlackId(){
      return cn.hutool.core.util.IdUtil.getSnowflake(WORKER_ID,DATACENTER_ID).nextId();
   }
}
